package com.example.myapplication.item;

import ohos.agp.render.PixelMapHolder;
import ohos.media.image.PixelMap;

import java.util.List;

/**
 *Created by Miaolonglong on 2021/12/24.
*/
public class Star extends ItemSprite {


    public Star(PixelMapHolder bitmap) {
        super(bitmap);
    }

    public Star(int width, int height, List<PixelMapHolder> bitmaps) {
        super(width, height, bitmaps);
    }

    @Override
    public void logic() {
        super.logic();
        if(isVisiable()){
            nextFrame();
        }
    }
}
